package com.tools.pojo.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
@Schema(description = "用户出参")
public class UserVO {

    @Schema(description="用户ID")
    private Long id;
    @Schema(description="用户名")
    private String username;
    @Schema(description="邮箱")
    private String email;
    @Schema(description="手机号")
    private String phoneNumber;
    @Schema(description="用户密码")
    private String password;
    @Schema(description="账户状态")
    private String accountStatus;
    @Schema(description="客户姓名")
    private String customerName;
    @Schema(description="客户联系信息")
    private String contactInfo;
    @Schema(description="用户类型")
    private Integer userType;
    @Schema(description="用户角色")
    private String usersRole;
    @Schema(description="昵称")
    private String nickname;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
